bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Jul 2021 17:28:56 +0000 (10:28 -0700)
committerAndrej Shadura <andrewsh@debian.org>
Sun, 25 Jan 2026 13:37:52 +0000 (14:37 +0100)
commit3569906d263dd0aaca43194812b4baab6c07b91f
tree6ae5fdaef5b9425151f188ec05193d63287d61da
parentbbe859a970bc8b183dc6229a7954ff59a7485dc6
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)

getaddresses() should be able to handle a Header object if passed
one.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Gbp-Pq: Name 0014-bpo-27513-email.utils.getaddresses-now-handles-Heade.patch
Lib/email/utils.py
Lib/test/test_email/test_email.py